import {
	axios
} from '@/service/request.js'
// import {
// 	ref,
// 	computed,
// 	watch
// } from 'vue'
export default (data) => {
	//收入明细接口
	const revenueDetailsList = async (url, params) => {
		const __data = await axios(url, params)
		return __data
	}
	//流转明细接口
	const userAroundFlowList = async (url, params) => {
		const __data = await axios(url, params)
		return __data
	}
	//统计一天收益接口
	const daySumIncomeAmout = async (url, params) => {
		const __data = await axios(url, params)
		return __data
	}
	const getMyFlowMoney = async (url, params) => {
		const __data = await axios(url, params)
		return __data
	}
	return {
		revenueDetailsList,
		userAroundFlowList,
		daySumIncomeAmout,
		getMyFlowMoney
	}
}